package com.java.comprehensive.design.behavioral_model.chain_of_responsibility_pattern;


public class Manager extends Handler {
    public Manager() {
        super(NO_ONE, Handler.NO_THREE);
    }

    @Override
    protected void handlerLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天，" + leave.getContent() + "。");
        System.out.println("部门经理审批同意");
        System.out.println("=====================================================================");
    }
}
